POV-Ray : Newsgroups : povray.advanced-users : Bitwise AND : Re: Bitwise AND Server Time
29 Jul 2024 02:30:59 EDT (-0400)
  Re: Bitwise AND  
From: Slime
Date: 4 Apr 2004 17:05:48
Message: <407078ac@news.povray.org>
> But.... Some mathematical operations require such operations.... Or at
> least they can use them, so it is odd that such a thing is not actually
> supported. Any method used to simulate this, where the result needs to be
> used as a real numeric value would take extra steps to 'build' the value
> from the array, string or whatever. This is imho quite silly.

True. But it would be possible. POV-Ray SDL is just a simple scripting
language provided for convenience; if you really need the speed that bit
operations can give you, then you're *probably* using the wrong language for
the job. You should consider writing a program in a different language which
outputs a POV-Ray SDL file which can be #included from your main one, to
provide the necessary data or objects.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.